#pragma once
#include"Subject.h"
#include<list>
#include<string>
using namespace std;
class Observer;
class Library : public Subject
{
public:
	Library(void);
	virtual ~Library(void);
	void Attach(Observer *pObserver);
	void Detach(Observer *pObserver);
	void Notify();
	string GetData();
	void SetData(string data);
private:
	list<Observer*> *m_pObserverList;
	string m_Data;
};

